<!doctype html>




<html class="theme-next mist" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>



<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />



  <meta name="google-site-verification" content="XKshOK3-ivpL8NoZ-P3JABgVNXF9cwGXb0Uc1TWc0X0" />













  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />




  
  
  
  

  
    
    
  

  

  

  

  

  
    
    
    <link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
  






<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.1.0" rel="stylesheet" type="text/css" />


  <meta name="keywords" content="IDE,IntelliJ IDEA,快捷键,配置," />





  <link rel="alternate" href="/feed.xml" title="Wander's Blog" type="application/atom+xml" />




  <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?v=5.1.0" />






<meta name="description" content="&amp;emsp;&amp;emsp;本文用的是 IntelliJ IDEA 2017.1.1 版本。  点击顶部的 File，选择 Export Settings…；  默认选择的应该就是 当前 IntelliJ IDEA 版本所在的配置路径；[不对看这里]如果不是，就选择 … 即更多文件，选择 Recent Flaces 即最近使用，选择你所使用的 IntelliJIdea 版本；  点击 OK，如果是第一">
<meta name="keywords" content="IDE,IntelliJ IDEA,快捷键,配置">
<meta property="og:type" content="article">
<meta property="og:title" content="IntelliJ IDEA For Mac 导入导出快捷键配置">
<meta property="og:url" content="http://0613.me/2017/05/05/20170505 - IntelliJ-IDEA-For-Mac-导入导出快捷键配置/index.html">
<meta property="og:site_name" content="Wander's Blog">
<meta property="og:description" content="&amp;emsp;&amp;emsp;本文用的是 IntelliJ IDEA 2017.1.1 版本。  点击顶部的 File，选择 Export Settings…；  默认选择的应该就是 当前 IntelliJ IDEA 版本所在的配置路径；[不对看这里]如果不是，就选择 … 即更多文件，选择 Recent Flaces 即最近使用，选择你所使用的 IntelliJIdea 版本；  点击 OK，如果是第一">
<meta property="og:image" content="http://wander.u.qiniudn.com/20170505-1403-0.0.png?imageView2/2/h/100/imageslim">
<meta property="og:image" content="http://wander.u.qiniudn.com/20170505-1403-1.0.png?imageView2/2/h/100/imageslim">
<meta property="og:image" content="http://wander.u.qiniudn.com/20170505-1403-1.1.png?imageView2/2/h/100/imageslim">
<meta property="og:image" content="http://wander.u.qiniudn.com/20170505-1403-2.1.png?imageView2/2/h/100/imageslim">
<meta property="og:image" content="http://wander.u.qiniudn.com/20170505-1403-2.0.png?imageView2/2/h/100/imageslim">
<meta property="og:image" content="http://wander.u.qiniudn.com/20170505-1403-3.png?imageView2/2/h/100/imageslim">
<meta property="og:image" content="http://wander.u.qiniudn.com/20170505-1403-4.0.png?imageView2/2/h/100/imageslim">
<meta property="og:image" content="http://wander.u.qiniudn.com/20170505-1403-4.1.png?imageView2/2/h/100/imageslim">
<meta property="og:image" content="http://wander.u.qiniudn.com/20170505-1403-4.2.png?imageView2/2/h/100/imageslim">
<meta property="og:image" content="http://wander.u.qiniudn.com/20170505-1403-4.3.png?imageView2/2/h/100/imageslim">
<meta property="og:image" content="http://wander.u.qiniudn.com/20170505-1403-5.0.png?imageView2/2/h/100/imageslim">
<meta property="og:image" content="http://wander.u.qiniudn.com/20170505-1403-5.1.png?imageView2/2/h/100/imageslim">
<meta property="og:image" content="http://wander.u.qiniudn.com/20170505-1403-6.1.png?imageView2/2/h/100/imageslim">
<meta property="og:updated_time" content="2017-05-14T08:48:04.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="IntelliJ IDEA For Mac 导入导出快捷键配置">
<meta name="twitter:description" content="&amp;emsp;&amp;emsp;本文用的是 IntelliJ IDEA 2017.1.1 版本。  点击顶部的 File，选择 Export Settings…；  默认选择的应该就是 当前 IntelliJ IDEA 版本所在的配置路径；[不对看这里]如果不是，就选择 … 即更多文件，选择 Recent Flaces 即最近使用，选择你所使用的 IntelliJIdea 版本；  点击 OK，如果是第一">
<meta name="twitter:image" content="http://wander.u.qiniudn.com/20170505-1403-0.0.png?imageView2/2/h/100/imageslim">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Mist',
    sidebar: {"position":"left","display":"hide","offset":12,"offset_float":0,"b2t":false,"scrollpercent":false},
    fancybox: true,
    motion: false,
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: 'L34XZDY661',
      apiKey: 'e2f02dacf5ff8155a9f9390f100de654',
      indexName: '42bf5dc7558a177308743da34255dbd4',
      hits: {"per_page":10},
      labels: {"input_placeholder":"输入关键词进行搜索","hits_empty":"找不到关于 ${query} 的文章","hits_stats":"共找到 ${hits} 篇文章，花了 ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://0613.me/2017/05/05/20170505 - IntelliJ-IDEA-For-Mac-导入导出快捷键配置/"/>





  <title> IntelliJ IDEA For Mac 导入导出快捷键配置 | Wander's Blog </title>
</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  




<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
            (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
          m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
  ga('create', 'UA-98124780-1', 'auto');
  ga('send', 'pageview');
</script>


  <script type="text/javascript">
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?c098f92aa7d6d02d9d76535b3f55b30c";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>



  <script type="text/javascript">
    (function() {
      var hm = document.createElement("script");
      hm.src = "//tajs.qq.com/stats?sId=61887471";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>



<script>
  	var _mtac = {};
  	(function() {
  		var mta = document.createElement("script");
  		mta.src = "http://pingjs.qq.com/h5/stats.js?v2.0.2";
  		mta.setAttribute("name", "MTAH5");
  		mta.setAttribute("sid", "500442890");

  		var s = document.getElementsByTagName("script")[0];
  		s.parentNode.insertBefore(mta, s);
  	})();
</script>



  <div style="display: none;">
    <script src="//s95.cnzz.com/z_stat.php?id=1261814436&web_id=1261814436" language="JavaScript"></script>
  </div>






  
  
    
  

  <div class="container sidebar-position-left page-post-detail ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">Wander's Blog</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <h1 class="site-subtitle" itemprop="description">温故而知新</h1>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br />
            
            关于
          </a>
        </li>
      

      
        <li class="menu-item menu-item-search">
          
            <a href="javascript:;" class="popup-trigger">
          
            
              <i class="menu-item-icon fa fa-search fa-fw"></i> <br />
            
            搜索
          </a>
        </li>
      
    </ul>
  

  
    <div class="site-search">
      
  <div class="popup search-popup local-search-popup">
  <div class="local-search-header clearfix">
    <span class="search-icon">
      <i class="fa fa-search"></i>
    </span>
    <span class="popup-btn-close">
      <i class="fa fa-times-circle"></i>
    </span>
    <div class="local-search-input-wrapper">
      <input autocapitalize="off" autocomplete="off" autocorrect="off"
             placeholder="搜索..." spellcheck="false"
             type="text" id="local-search-input">
    </div>
  </div>
  <div id="local-search-result"></div>
</div>



    </div>
  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
    <link itemprop="mainEntityOfPage" href="http://0613.me/2017/05/05/20170505 - IntelliJ-IDEA-For-Mac-导入导出快捷键配置/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Wander.Zeng">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="http://wander.u.qiniudn.com/avatar.png?imageslim">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Wander's Blog">
    </span>

    
      <header class="post-header">

        
        
          <h2 class="post-title" itemprop="name headline">
            
            
              
                IntelliJ IDEA For Mac 导入导出快捷键配置
              
            
          </h2>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2017-05-05T14:03:18+08:00">
                2017-05-05
              </time>
            

            

            
          </span>

          
            <span class="post-category" >
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/IDE/" itemprop="url" rel="index">
                    <span itemprop="name">IDE</span>
                  </a>
                </span>

                
                
                  ， 
                
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/IDE/IntelliJ-IDEA/" itemprop="url" rel="index">
                    <span itemprop="name">IntelliJ IDEA</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
              <span class="post-comments-count">
              <span class="post-meta-divider">|</span>
              <span class="post-meta-item-icon">
                <i class="fa fa-comment-o"></i>
              </span>
              
                <a href="/2017/05/05/20170505 - IntelliJ-IDEA-For-Mac-导入导出快捷键配置/#SOHUCS" itemprop="discussionUrl">
                  <span id="changyan_count_unit" class="post-comments-count hc-comment-count" data-xid="2017/05/05/20170505 - IntelliJ-IDEA-For-Mac-导入导出快捷键配置/" itemprop="commentsCount"></span>
                </a>
              
            
          

          
          
             <span id="/2017/05/05/20170505 - IntelliJ-IDEA-For-Mac-导入导出快捷键配置/" class="leancloud_visitors" data-flag-title="IntelliJ IDEA For Mac 导入导出快捷键配置">
               <span class="post-meta-divider">|</span>
               <span class="post-meta-item-icon">
                 <i class="fa fa-eye"></i>
               </span>
               
                 <span class="post-meta-item-text">阅读次数 </span>
               
                 <span class="leancloud-visitors-count"></span>
             </span>
          

          

          

          

        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        <p>&emsp;&emsp;本文用的是 <code>IntelliJ IDEA 2017.1.1</code> 版本。</p>
<ul>
<li><p><span id="参考0">点击顶部的 <strong>File</strong>，选择 <strong>Export Settings…</strong>；</span><br><a href="http://wander.u.qiniudn.com/20170505-1403-0.0.png?imageslim" target="_blank" rel="external"><img src="http://wander.u.qiniudn.com/20170505-1403-0.0.png?imageView2/2/h/100/imageslim" alt=""></a></p>
</li>
<li><p>默认选择的应该就是 <strong>当前 IntelliJ IDEA 版本所在的配置路径</strong>；<br><a href="http://wander.u.qiniudn.com/20170505-1403-1.0.png?imageslim" target="_blank" rel="external"><img src="http://wander.u.qiniudn.com/20170505-1403-1.0.png?imageView2/2/h/100/imageslim" alt=""></a><br>[不对看这里]如果不是，就选择 <strong>…</strong> 即更多文件，选择 <strong>Recent Flaces</strong> 即最近使用，选择你所使用的 IntelliJIdea 版本；<br><a href="http://wander.u.qiniudn.com/20170505-1403-1.1.png?imageslim" target="_blank" rel="external"><img src="http://wander.u.qiniudn.com/20170505-1403-1.1.png?imageView2/2/h/100/imageslim" alt=""></a></p>
</li>
<li><p>点击 <strong>OK</strong>，如果是第一次 Export，会提示 <strong>Export Complete</strong>，此时不要急着 <strong>Cancel</strong>，而是选择 <strong>Reveal in Finder</strong>；<br><a href="http://wander.u.qiniudn.com/20170505-1403-2.1.png?imageslim" target="_blank" rel="external"><img src="http://wander.u.qiniudn.com/20170505-1403-2.1.png?imageView2/2/h/100/imageslim" alt=""></a><br>[不对看这里]如果不是第一次，则会提示 <strong>File Already Exists</strong>，其实就是该文件已存在，无脑点击 <strong>OK</strong> 即可，后面就是老司机上路了；<br><a href="http://wander.u.qiniudn.com/20170505-1403-2.0.png?imageslim" target="_blank" rel="external"><img src="http://wander.u.qiniudn.com/20170505-1403-2.0.png?imageView2/2/h/100/imageslim" alt=""></a></p>
</li>
<li><p>在打开的文件里找到 <strong>keymaps</strong> 目录，你想要的 <strong>快捷键配置</strong> 文件就静静地躺在那里，特别提醒，<strong>对里面的文件删除或添加，都需要重启 IDEA 才能生效，</strong>enjoy it 吧~<br><a href="http://wander.u.qiniudn.com/20170505-1403-3.png?imageslim" target="_blank" rel="external"><img src="http://wander.u.qiniudn.com/20170505-1403-3.png?imageView2/2/h/100/imageslim" alt=""></a></p>
<a id="more"></a>
</li>
</ul>
<hr>
<h3 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h3><p>&emsp;&emsp;虽然用的最习惯的还是 eclipse，尤其是 MyEclipse，但由于 JetBrains 成功的商业模式，把各个工具的操作都统一了，大势所趋，IntelliJ IDEA 成了新宠。我还不是很熟悉这个新伙伴，今天遇到要把快捷键设置导出的问题就一下子难到了。本以为谷歌在手，天下我有，结果搜了一通，要么是 Windows 版的，要么就是风马牛不相及的快捷键使用说明，竟然没有我大 Mac 的文章，那就让我来献个丑吧~</p>
<h3 id="正文"><a href="#正文" class="headerlink" title="正文"></a>正文</h3><p>&emsp;&emsp;前面提到，我已经找到了 <a href="http://blog.csdn.net/jiangfuqiang/article/details/38553011" target="_blank" rel="external">Windows</a> 的方法（<a href="#参考1">见参考</a>），那举一反三，Mac 上的位置呼之欲出。<br>&emsp;&emsp;Windows 下 IDEA 默认快捷键的配置文件所在地（目录前缀自己改）：C:\Program Files (x86)\JetBrains\IntelliJ IDEA xxx\lib\resources.jar\idea\KeyMap_xxx.xml，很显然，Mac 下肯定在 <strong>IntelliJ IDEA.app</strong> 的 <strong>包内容</strong> 里，<a href="http://wander.u.qiniudn.com/20170505-1403-4.0.png?imageslim" target="_blank" rel="external"><img src="http://wander.u.qiniudn.com/20170505-1403-4.0.png?imageView2/2/h/100/imageslim" alt=""></a><strong>resources.jar</strong> 包是顺利找到了，<a href="http://wander.u.qiniudn.com/20170505-1403-4.1.png?imageslim" target="_blank" rel="external"><img src="http://wander.u.qiniudn.com/20170505-1403-4.1.png?imageView2/2/h/100/imageslim" alt=""></a> 但通过 <strong>JD-GUI</strong> 查看了下，可能是版本的问题， <strong>idea</strong> 目录下并没有和 <strong>KeyMap</strong> 有关的文件，而是在同级的 <strong>keymaps</strong> 目录下，和 <strong>偏好设置</strong> 里的 <strong>Keymap</strong> 的设置可以对应起来，说明 默认快捷键的配置 找对了。<br><a href="http://wander.u.qiniudn.com/20170505-1403-4.2.png?imageslim" target="_blank" rel="external"><img src="http://wander.u.qiniudn.com/20170505-1403-4.2.png?imageView2/2/h/100/imageslim" alt=""></a><a href="http://wander.u.qiniudn.com/20170505-1403-4.3.png?imageslim" target="_blank" rel="external"><img src="http://wander.u.qiniudn.com/20170505-1403-4.3.png?imageView2/2/h/100/imageslim" alt=""></a><br>&emsp;&emsp;看了半天，我自定义的快捷键在哪里，这才是重点。Windows 下 IDEA 用户自定义快捷键的配置文件所在地（目录前缀自己改）：C:\Users\Administrator.IntelliJIdea13\config\keymaps*.xml，但 Mac 下的配置放在哪呢，这就比较尴尬了，只能退而求其次，先找下 IntelliJ IDEA For Mac 的配置文件保存路径吧，这就很多了，感谢<a href="http://wiki.jikexueyuan.com/project/intellij-idea-tutorial/installation-directory-introduce.html" target="_blank" rel="external">万能的 Google，无私的网友</a>（<a href="#参考2">见参考</a>），/Users/你的用户名/Library/Preferences/IntelliJIdeaXXXXXX，用于保存你的个人配置，等价于 Windows 下的 config 目录，接下来，不管用 <strong>终端</strong> 还是 <strong>前往文件夹…</strong> 都可以，你喜欢就好。<br><a href="http://wander.u.qiniudn.com/20170505-1403-5.0.png?imageslim" target="_blank" rel="external"><img src="http://wander.u.qiniudn.com/20170505-1403-5.0.png?imageView2/2/h/100/imageslim" alt=""></a><a href="http://wander.u.qiniudn.com/20170505-1403-5.1.png?imageslim" target="_blank" rel="external"><img src="http://wander.u.qiniudn.com/20170505-1403-5.1.png?imageView2/2/h/100/imageslim" alt=""></a><br>&emsp;&emsp;最后，感谢好友 <strong>Stephen</strong> 抛来的问题，又自己找到了<a href="#参考0">最上面所说的最正常最方便的正解</a>，还分享了丰富的<a href="http://color-themes.com/?view=index" target="_blank" rel="external">颜色主题 Color Themes</a>（<a href="#参考3">见参考</a>），下载喜欢的主题，其实就是 jar 包，通过 <strong>Import Settings…</strong> 导入即可，如果想极客一点，可以把 jar 包解包，把文件放到对应的目录下即可。</p>
<h3 id="题外话：保存快捷键配置"><a href="#题外话：保存快捷键配置" class="headerlink" title="题外话：保存快捷键配置"></a>题外话：保存快捷键配置</h3><p>&emsp;&emsp;喜欢的快捷键要好好珍惜，我选择 GitHub 来装逼，<a href="https://github.com/wanderhero/config/blob/master/IntelliJ%20IDEA/keymaps/custom%20Mac%20OS%20X%2010_5_.xml" target="_blank" rel="external"><strong>https://github.com/wanderhero/config.git</strong></a>，其实我就把 <strong>代码补全(Main menu –&gt; Code –&gt; Completion)</strong> 的快捷键改成了 <strong>Alt + 斜杠(⌥/)</strong>，符合国情~</p>
<h3 id="吐槽一下"><a href="#吐槽一下" class="headerlink" title="吐槽一下"></a>吐槽一下</h3><p>&emsp;&emsp;IntelliJ IDEA 要是能在 快捷键配置 界面添加 导入 和 导出 按钮多方便，既然没有，就 PS 下 YY 下吧~<br><a href="http://wander.u.qiniudn.com/20170505-1403-6.1.png?imageslim" target="_blank" rel="external"><img src="http://wander.u.qiniudn.com/20170505-1403-6.1.png?imageView2/2/h/100/imageslim" alt=""></a><br>&emsp;&emsp;对比了下 Eclipse，其实 Eclipse 提供了导出快捷键设置的按钮，可以将当前 Eclipse 中所有快捷键设置导出到一个 csv 格式的文件中，却没有导入按钮。为什么以前用 Eclipse 没注意到这点，到了 IntelliJ IDEA 却需要呢，归根结底还是 IntelliJ IDEA 的快捷键需要换的缘故，虽然这东西是舶来品，但既然无法改变别人，那只能改变自己了~</p>
<h3 id="参考"><a href="#参考" class="headerlink" title="参考"></a>参考</h3><ul>
<li><span id="参考1"><a href="http://blog.csdn.net/jiangfuqiang/article/details/38553011" target="_blank" rel="external">jiangfuqiang的专栏 - 完整导出IntelliJ IDEA的快捷键</a>，其他几篇跟博主一模一样的文章应该都是 copy 的</span>  </li>
<li><span id="参考2"><a href="http://wiki.jikexueyuan.com/project/intellij-idea-tutorial/installation-directory-introduce.html" target="_blank" rel="external">极客学院的IntelliJ IDEA 相关核心文件和目录介绍之Mac 的配置文件保存路径</a></span>  </li>
<li><span id="参考3"><a href="http://color-themes.com/?view=index" target="_blank" rel="external">Color Themes - 多彩主题</a></span>  </li>
</ul>
<div class="note danger"><p><strong>版权声明：</strong> 本文章转载请注明出处！ </p>
</div>
      
    </div>

    <div>
      
        

      
    </div>

    <div>
      
        
  <div style="padding: 10px 0; margin: 20px auto; width: 90%; text-align: center;">
    <div>坚持原创技术分享，您的支持是我创作的动力！</div>
    <button id="rewardButton" disable="enable" onclick="var qr = document.getElementById('QR'); if (qr.style.display === 'none') {qr.style.display='block';} else {qr.style.display='none'}">
      <span>赏</span>
    </button>
    <div id="QR" style="display: none;">
      
        <div id="alipay" style="display: inline-block">
          <img id="alipay_qr" src="http://wander.u.qiniudn.com/ali_pay.png?imageslim" alt="Wander.Zeng Alipay"/>
          <p>支付宝打赏</p>
        </div>
      
      
        <div id="wechat" style="display: inline-block">
          <img id="wechat_qr" src="http://wander.u.qiniudn.com/wechatpay.png?imageslim" alt="Wander.Zeng WeChat Pay"/>
          <p>微信打赏</p>
        </div>
      
    </div>
  </div>


      
    </div>

    <div>
      
        
  <ul class="post-copyright">
    <!--
    <li class="post-copyright-author">
      <strong>本文作者：</strong>
      Wander.Zeng
    </li>
    -->
    <li class="post-copyright-link">
      <strong>本文链接：</strong>
      <a href="http://0613.me/2017/05/05/20170505 - IntelliJ-IDEA-For-Mac-导入导出快捷键配置/" title="IntelliJ IDEA For Mac 导入导出快捷键配置">http://0613.me/2017/05/05/20170505 - IntelliJ-IDEA-For-Mac-导入导出快捷键配置/</a>
    </li>
    <!--
    <li class="post-copyright-license">
      <strong>版权声明： </strong>
      本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/3.0/" rel="external nofollow" target="_blank">CC BY-NC-SA 3.0</a> 许可协议。转载请注明出处！
    </li>
    -->
  </ul>


      
    </div>

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/IDE/" rel="tag"># IDE</a>
          
            <a href="/tags/IntelliJ-IDEA/" rel="tag"># IntelliJ IDEA</a>
          
            <a href="/tags/快捷键/" rel="tag"># 快捷键</a>
          
            <a href="/tags/配置/" rel="tag"># 配置</a>
          
        </div>
      

      
        
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2017/05/14/20170514 - Java-通过-JNI-调用-so-jnilib-动态链接库/" rel="next" title="Java 通过 JNI 调用 so/jnilib 动态链接库">
                <i class="fa fa-chevron-left"></i> Java 通过 JNI 调用 so/jnilib 动态链接库
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2017/04/30/20170430 - hello-world-hexo/" rel="prev" title="Hello World - Hexo">
                Hello World - Hexo <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </article>



    <div class="post-spread">
      
        
  <div class="bdsharebuttonbox">
    <a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a>
    <a href="#" class="bds_douban" data-cmd="douban" title="分享到豆瓣网"></a>
    <a href="#" class="bds_sqq" data-cmd="sqq" title="分享到QQ好友"></a>
    <a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a>
    <a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a>
    <a href="#" class="bds_tieba" data-cmd="tieba" title="分享到百度贴吧"></a>
    <a href="#" class="bds_twi" data-cmd="twi" title="分享到Twitter"></a>
    <a href="#" class="bds_fbook" data-cmd="fbook" title="分享到Facebook"></a>
    <a href="#" class="bds_more" data-cmd="more"></a>
    <a class="bds_count" data-cmd="count"></a>
  </div>
  <script>
    window._bd_share_config = {
      "common": {
        "bdText": "",
        "bdMini": "2",
        "bdMiniList": false,
        "bdPic": ""
      },
      "share": {
        "bdSize": "16",
        "bdStyle": "0"
      },
      "image": {
        "viewList": ["tsina", "douban", "sqq", "qzone", "weixin", "twi", "fbook"],
        "viewText": "分享到：",
        "viewSize": "16"
      }
    }
  </script>

<script>
  with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='//bdimg.share.baidu.com/static/api/js/share.js?cdnversion='+~(-new Date()/36e5)];
</script>

      
    </div>
  </div>


          </div>
          


          
  <div class="comments" id="comments">
    
      <div id="SOHUCS"></div>
    
  </div>


        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap" >
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
          <img class="site-author-image" itemprop="image"
               src="http://wander.u.qiniudn.com/avatar.png?imageslim"
               alt="Wander.Zeng" />
          <p class="site-author-name" itemprop="name">Wander.Zeng</p>
           
              <p class="site-description motion-element" itemprop="description"></p>
           
        </div>
        <nav class="site-state motion-element">

          
            <div class="site-state-item site-state-posts">
              <a href="/archives">
                <span class="site-state-item-count">6</span>
                <span class="site-state-item-name">日志</span>
              </a>
            </div>
          

          
            
            
            <div class="site-state-item site-state-categories">
              <a href="/categories/index.html">
                <span class="site-state-item-count">10</span>
                <span class="site-state-item-name">分类</span>
              </a>
            </div>
          

          
            
            
            <div class="site-state-item site-state-tags">
              <a href="/tags/index.html">
                <span class="site-state-item-count">20</span>
                <span class="site-state-item-name">标签</span>
              </a>
            </div>
          

        </nav>

        
          <div class="feed-link motion-element">
            <a href="/feed.xml" rel="alternate">
              <i class="fa fa-rss"></i>
              RSS
            </a>
          </div>
        

        <div class="links-of-author motion-element">
          
            
              <span class="links-of-author-item">
                <a href="https://github.com/wanderhero" target="_blank" title="GitHub">
                  
                    <i class="fa fa-fw fa-github"></i>
                  
                  GitHub
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="http://www.jianshu.com/users/29cd973eda7b" target="_blank" title="简书">
                  
                    <i class="fa fa-fw fa-globe"></i>
                  
                  简书
                </a>
              </span>
            
          
        </div>

        
        

        
        
          <div class="links-of-blogroll motion-element links-of-blogroll-inline">
            <div class="links-of-blogroll-title">
              <i class="fa  fa-fw fa-globe"></i>
              友情链接
            </div>
            <ul class="links-of-blogroll-list">
              
                <li class="links-of-blogroll-item">
                  <a href="https://www.wuliaokankan.cn/" title="无聊看看" target="_blank">无聊看看</a>
                </li>
              
            </ul>
          </div>
        

        


      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-3"><a class="nav-link" href="#前言"><span class="nav-number">1.</span> <span class="nav-text">前言</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#正文"><span class="nav-number">2.</span> <span class="nav-text">正文</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#题外话：保存快捷键配置"><span class="nav-number">3.</span> <span class="nav-text">题外话：保存快捷键配置</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#吐槽一下"><span class="nav-number">4.</span> <span class="nav-text">吐槽一下</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#参考"><span class="nav-number">5.</span> <span class="nav-text">参考</span></a></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright" >
  
  &copy; 
  <span itemprop="copyrightYear">2017</span>
  <span class="with-love">
    <i class="fa fa-user-circle-o"></i>
  </span>
  <span style="margin-right: 10px;" class="author" itemprop="copyrightHolder">Wander.Zeng</span>
  |<a style="margin-left: 10px;" href="http://www.miitbeian.gov.cn/">浙ICP备17021839号</a>
</div>


<div class="powered-by">
  由 <a class="theme-link" href="https://hexo.io">Hexo</a> 强力驱动
</div>

<div class="theme-info">
  主题 -
  <a class="theme-link" href="https://github.com/iissnan/hexo-theme-next">
    NexT.Mist
  </a>
</div>


        
<div class="busuanzi-count">
  <script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>

  
    <span class="site-uv">
      本站访客数
      <span class="busuanzi-value" id="busuanzi_value_site_uv"></span>
      人次
    </span>
  

  
    <span class="site-pv">
      本站总访问量
      <span class="busuanzi-value" id="busuanzi_value_site_pv"></span>
      次
    </span>
  
</div>


        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  








  
  <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>

  
  <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>

  
  <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.0"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.0"></script>



  
  

  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.0"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.0"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.0"></script>



  


  




	





  





  





  




  
    <script type="text/javascript">
    (function(){
      var appid = 'cyt2hHQ2h';
      var conf = '5da92ee22cc5141017c67f3c7b985f8c';
      var width = window.innerWidth || document.documentElement.clientWidth;
      if (width < 960) {
      window.document.write('<script id="changyan_mobile_js" charset="utf-8" type="text/javascript" src="https://changyan.sohu.com/upload/mobile/wap-js/changyan_mobile.js?client_id=' + appid + '&conf=' + conf + '"><\/script>'); } else { var loadJs=function(d,a){var c=document.getElementsByTagName("head")[0]||document.head||document.documentElement;var b=document.createElement("script");b.setAttribute("type","text/javascript");b.setAttribute("charset","UTF-8");b.setAttribute("src",d);if(typeof a==="function"){if(window.attachEvent){b.onreadystatechange=function(){var e=b.readyState;if(e==="loaded"||e==="complete"){b.onreadystatechange=null;a()}}}else{b.onload=a}}c.appendChild(b)};loadJs("https://changyan.sohu.com/upload/changyan.js",function(){
        window.changyan.api.config({appid:appid,conf:conf})});
      }
    })();
    </script>
    <script type="text/javascript" src="https://assets.changyan.sohu.com/upload/plugins/plugins.count.js"></script>
  



  

  <script type="text/javascript">
    // Popup Window;
    var isfetched = false;
    // Search DB path;
    var search_path = "search.xml";
    if (search_path.length == 0) {
      search_path = "search.xml";
    }
    var path = "/" + search_path;
    // monitor main search box;

    function proceedsearch() {
      $("body")
        .append('<div class="search-popup-overlay local-search-pop-overlay"></div>')
        .css('overflow', 'hidden');
      $('.popup').toggle();
    }
    // search function;
    var searchFunc = function(path, search_id, content_id) {
      'use strict';
      $.ajax({
        url: path,
        dataType: "xml",
        async: true,
        success: function( xmlResponse ) {
          // get the contents from search data
          isfetched = true;
          $('.popup').detach().appendTo('.header-inner');
          var datas = $( "entry", xmlResponse ).map(function() {
            return {
              title: $( "title", this ).text(),
              content: $("content",this).text(),
              url: $( "url" , this).text()
            };
          }).get();
          var $input = document.getElementById(search_id);
          var $resultContent = document.getElementById(content_id);
          $input.addEventListener('input', function(){
            var matchcounts = 0;
            var str='<ul class=\"search-result-list\">';
            var keywords = this.value.trim().toLowerCase().split(/[\s\-]+/);
            $resultContent.innerHTML = "";
            if (this.value.trim().length > 1) {
              // perform local searching
              datas.forEach(function(data) {
                var isMatch = false;
                var content_index = [];
                var data_title = data.title.trim().toLowerCase();
                var data_content = data.content.trim().replace(/<[^>]+>/g,"").toLowerCase();
                var data_url = decodeURIComponent(data.url);
                var index_title = -1;
                var index_content = -1;
                var first_occur = -1;
                // only match artiles with not empty titles and contents
                if(data_title != '') {
                  keywords.forEach(function(keyword, i) {
                    index_title = data_title.indexOf(keyword);
                    index_content = data_content.indexOf(keyword);
                    if( index_title >= 0 || index_content >= 0 ){
                      isMatch = true;
                      if (i == 0) {
                        first_occur = index_content;
                      }
                    }

                  });
                }
                // show search results
                if (isMatch) {
                  matchcounts += 1;
                  str += "<li><a href='"+ data_url +"' class='search-result-title'>"+ data_title +"</a>";
                  var content = data.content.trim().replace(/<[^>]+>/g,"");
                  if (first_occur >= 0) {
                    // cut out 100 characters
                    var start = first_occur - 20;
                    var end = first_occur + 80;
                    if(start < 0){
                      start = 0;
                    }
                    if(start == 0){
                      end = 50;
                    }
                    if(end > content.length){
                      end = content.length;
                    }
                    var match_content = content.substring(start, end);
                    // highlight all keywords
                    keywords.forEach(function(keyword){
                      var regS = new RegExp(keyword, "gi");
                      match_content = match_content.replace(regS, "<b class=\"search-keyword\">"+keyword+"</b>");
                    });

                    str += "<p class=\"search-result\">" + match_content +"...</p>"
                  }
                  str += "</li>";
                }
              })};
            str += "</ul>";
            if (matchcounts == 0) { str = '<div id="no-result"><i class="fa fa-frown-o fa-5x" /></div>' }
            if (keywords == "") { str = '<div id="no-result"><i class="fa fa-search fa-5x" /></div>' }
            $resultContent.innerHTML = str;
          });
          proceedsearch();
        }
      });}

    // handle and trigger popup window;
    $('.popup-trigger').click(function(e) {
      e.stopPropagation();
      if (isfetched == false) {
        searchFunc(path, 'local-search-input', 'local-search-result');
      } else {
        proceedsearch();
      };
    });

    $('.popup-btn-close').click(function(e){
      $('.popup').hide();
      $(".local-search-pop-overlay").remove();
      $('body').css('overflow', '');
    });
    $('.popup').click(function(e){
      e.stopPropagation();
    });
  </script>





  

  
  <script src="https://cdn1.lncld.net/static/js/av-core-mini-0.6.1.js"></script>
  <script>AV.initialize("xBKxUblXClSEpkAliADyp6c6-gzGzoHsz", "SjCMd7zwri4miARkvxbvYsfH");</script>
  <script>
    function showTime(Counter) {
      var query = new AV.Query(Counter);
      var entries = [];
      var $visitors = $(".leancloud_visitors");

      $visitors.each(function () {
        entries.push( $(this).attr("id").trim() );
      });

      query.containedIn('url', entries);
      query.find()
        .done(function (results) {
          var COUNT_CONTAINER_REF = '.leancloud-visitors-count';

          if (results.length === 0) {
            $visitors.find(COUNT_CONTAINER_REF).text(0);
            return;
          }

          for (var i = 0; i < results.length; i++) {
            var item = results[i];
            var url = item.get('url');
            var time = item.get('time');
            var element = document.getElementById(url);

            $(element).find(COUNT_CONTAINER_REF).text(time);
          }
          for(var i = 0; i < entries.length; i++) {
            var url = entries[i];
            var element = document.getElementById(url);
            var countSpan = $(element).find(COUNT_CONTAINER_REF);
            if( countSpan.text() == '') {
              countSpan.text(0);
            }
          }
        })
        .fail(function (object, error) {
          console.log("Error: " + error.code + " " + error.message);
        });
    }

    function addCount(Counter) {
      var $visitors = $(".leancloud_visitors");
      var url = $visitors.attr('id').trim();
      var title = $visitors.attr('data-flag-title').trim();
      var query = new AV.Query(Counter);

      query.equalTo("url", url);
      query.find({
        success: function(results) {
          if (results.length > 0) {
            var counter = results[0];
            counter.fetchWhenSave(true);
            counter.increment("time");
            counter.save(null, {
              success: function(counter) {
                var $element = $(document.getElementById(url));
                $element.find('.leancloud-visitors-count').text(counter.get('time'));
              },
              error: function(counter, error) {
                console.log('Failed to save Visitor num, with error message: ' + error.message);
              }
            });
          } else {
            var newcounter = new Counter();
            /* Set ACL */
            var acl = new AV.ACL();
            acl.setPublicReadAccess(true);
            acl.setPublicWriteAccess(true);
            newcounter.setACL(acl);
            /* End Set ACL */
            newcounter.set("title", title);
            newcounter.set("url", url);
            newcounter.set("time", 1);
            newcounter.save(null, {
              success: function(newcounter) {
                var $element = $(document.getElementById(url));
                $element.find('.leancloud-visitors-count').text(newcounter.get('time'));
              },
              error: function(newcounter, error) {
                console.log('Failed to create');
              }
            });
          }
        },
        error: function(error) {
          console.log('Error:' + error.code + " " + error.message);
        }
      });
    }

    $(function() {
      var Counter = AV.Object.extend("Counter");
      if ($('.leancloud_visitors').length == 1) {
        addCount(Counter);
      } else if ($('.post-title-link').length > 1) {
        showTime(Counter);
      }
    });
  </script>



  
<script>
(function(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';        
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</script>


  
  
    <script type="text/x-mathjax-config">
      MathJax.Hub.Config({
        tex2jax: {
          inlineMath: [ ['$','$'], ["\\(","\\)"]  ],
          processEscapes: true,
          skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
        }
      });
    </script>

    <script type="text/x-mathjax-config">
      MathJax.Hub.Queue(function() {
        var all = MathJax.Hub.getAllJax(), i;
        for (i=0; i < all.length; i += 1) {
          all[i].SourceElement().parentNode.className += ' has-jax';
        }
      });
    </script>
    <script type="text/javascript" src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
  


  
  <script type="text/javascript" src="/js/src/js.cookie.js?v=5.1.0"></script>
  <script type="text/javascript" src="/js/src/scroll-cookie.js?v=5.1.0"></script>


  

</body>
</html>
